Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add guidance around not using mixins #1302

Merged
merged 1 commit into from
Feb 14, 2017
Merged

Add guidance around not using mixins #1302

merged 1 commit into from
Feb 14, 2017

Conversation

lencioni
Copy link
Contributor

Mixins will hopefully be removed from React eventually. In the meantime,
we can avoid the damage they cause by not using them. Most of this was
borrowed from @gaearon's blog post "Mixins Considered Harmful".

https://facebook.github.io/react/blog/2016/07/13/mixins-considered-harmful.html

@ljharb @iancmyers

Mixins will hopefully be removed from React eventually. In the meantime,
we can avoid the damage they cause by not using them. Most of this was
borrowed from @gaearon's blog post "Mixins Considered Harmful".

https://facebook.github.io/react/blog/2016/07/13/mixins-considered-harmful.html
@lencioni lencioni merged commit 3bbbf6d into master Feb 14, 2017
@lencioni lencioni deleted the mixins branch February 14, 2017 18:44
xalexec pushed a commit to xalexec/javascript that referenced this pull request Mar 26, 2017
Add guidance around not using mixins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants